package com.ssy.lingxi.order.api.model.vo.request;

import com.ssy.lingxi.common.constant.order.OrderPayChannelEnum;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 支付渠道作为接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2021-08-20
 */
public class OrderPayChannelFeignVO implements Serializable {
    private static final long serialVersionUID = 1212258316005835350L;

    /**
     * 支付渠道枚举
     */
    @NotNull(message = "支付渠道不能为空")
    private OrderPayChannelEnum payChannel;

    public OrderPayChannelEnum getPayChannel() {
        return payChannel;
    }

    public void setPayChannel(OrderPayChannelEnum payChannel) {
        this.payChannel = payChannel;
    }
}
